<?php

namespace app\http\middleware;
use think\facade\Log;

class Check
{

    public function handle($request, \Closure $next)
    {
        if ($request->param['think'] = 'think') {
            Log::error('=====think======');
        }

        if (isset($request->get()['name']) && $request->get()['name'] == 'bqs') {
            Log::error("=======bqs is ariamous=======");
        }

        //Log::error(json_encode($request->param, JSON_UNESCAPED_UNICODE));

        return $next($request);
    }

}
